package com.zzyl.nursing.task;

import com.zzyl.nursing.service.IContractService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

@Component
public class ContractTask {
    @Autowired
    private IContractService contractService;
    public void run(){
        contractService.updateContractStatus();
    }
}
